﻿<%@ WebHandler Language="C#" Class="AjaxTsqkSubmit" %>

using System;
using System.Web;

public class AjaxTsqkSubmit : IHttpHandler {

    public void ProcessRequest(HttpContext context)
    {
        context.Response.ContentType = "text/plain";
        context.Response.Write(PostIId(context.Request["dataIId"], context.Request["flag"]));
    }

    public bool IsReusable
    {
        get
        {
            return false;
        }
    }

    public string PostIId(string strIId, string strFlag)
    {
        ChBusiness.Wsbs.ShenBaoSubmit submit = new ChBusiness.Wsbs.ShenBaoSubmit();

        int nReturn = submit.SetZsblSubmitFlag(strIId, strFlag);
        return nReturn.ToString();
    }

}